﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SanJ.FreeCare.ValueSets
{
    public static class LocationOperationalStatus
    {
        /// <summary>
        /// 空闲
        /// </summary>
        public const string Unoccupied = "U";

        /// <summary>
        /// 占用
        /// </summary>
        public const string Occupied = "O";

        /// <summary>
        /// 关闭
        /// </summary>
        public const string Closed = "C";
        public const string Isolated = "I";
        public const string Housekeepin = "H";
        public const string Contaminated = "K";


        public static string GetChinenseShow(string code)
        {
            string returnStr = "";
            switch (code)
            {
                case Unoccupied: returnStr = "空闲"; break;
                case Occupied: returnStr = "占用"; break;
            }
            return returnStr;
        }
    }
}
